Package com.cisco.pt.ipc.sim.pdu.impl
Class SccpMessageImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.SccpMessageImpl
- All Implemented Interfaces:
IPCData,Header,Pdu,SccpMessage,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected MACAddressprotected SkinnyMessageTypeprotected intprotected intprotected CallStateprotected Stringprotected StringFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intintgetState()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCalledNumber(String calledNumber) voidsetCallerNumber(String callerNumber) voidsetLineNumber(String lineNumber) voidsetMacAddress(MACAddress macAddress) voidsetMsgType(SkinnyMessageType msgType) voidsetRtpPort(int rtpPort) voidsetSccpPort(int sccpPort) voidvoidsetStrIpAddress(String strIpAddress) voidsetSystemMsg(String systemMsg) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
msgType
-
calledNumber
-
callerNumber
-
lineNumber
-
sccpPort
protected int sccpPort -
rtpPort
protected int rtpPort -
macAddress
-
strIpAddress
-
state
-
systemMsg
-
-
Constructor Details
-
SccpMessageImpl
public SccpMessageImpl()
-
-
Method Details
-
getMsgType
- Specified by:
getMsgTypein interfaceSccpMessage- Returns:
- SkinnyMessageType Returns a SkinnyMessageType
-
setMsgType
- Specified by:
setMsgTypein interfaceSccpMessage- Parameters:
msgType- Takes in a parameter of msgType
-
getCalledNumber
- Specified by:
getCalledNumberin interfaceSccpMessage- Returns:
- String Returns a String
-
setCalledNumber
- Specified by:
setCalledNumberin interfaceSccpMessage- Parameters:
calledNumber- Takes in a parameter of calledNumber
-
getCallerNumber
- Specified by:
getCallerNumberin interfaceSccpMessage- Returns:
- String Returns a String
-
setCallerNumber
- Specified by:
setCallerNumberin interfaceSccpMessage- Parameters:
callerNumber- Takes in a parameter of callerNumber
-
getLineNumber
- Specified by:
getLineNumberin interfaceSccpMessage- Returns:
- String Returns a String
-
setLineNumber
- Specified by:
setLineNumberin interfaceSccpMessage- Parameters:
lineNumber- Takes in a parameter of lineNumber
-
getSccpPort
public int getSccpPort()- Specified by:
getSccpPortin interfaceSccpMessage- Returns:
- int Returns a int
-
setSccpPort
public void setSccpPort(int sccpPort) - Specified by:
setSccpPortin interfaceSccpMessage- Parameters:
sccpPort- Takes in a parameter of sccpPort
-
getRtpPort
public int getRtpPort()- Specified by:
getRtpPortin interfaceSccpMessage- Returns:
- int Returns a int
-
setRtpPort
public void setRtpPort(int rtpPort) - Specified by:
setRtpPortin interfaceSccpMessage- Parameters:
rtpPort- Takes in a parameter of rtpPort
-
getMacAddress
- Specified by:
getMacAddressin interfaceSccpMessage- Returns:
- MACAddress Returns a MACAddress
-
setMacAddress
- Specified by:
setMacAddressin interfaceSccpMessage- Parameters:
macAddress- Takes in a parameter of macAddress
-
getStrIpAddress
- Specified by:
getStrIpAddressin interfaceSccpMessage- Returns:
- String Returns a String
-
setStrIpAddress
- Specified by:
setStrIpAddressin interfaceSccpMessage- Parameters:
strIpAddress- Takes in a parameter of strIpAddress
-
getState
- Specified by:
getStatein interfaceSccpMessage- Returns:
- CallState Returns a CallState
-
setState
- Specified by:
setStatein interfaceSccpMessage- Parameters:
state- Takes in a parameter of state
-
getSystemMsg
- Specified by:
getSystemMsgin interfaceSccpMessage- Returns:
- String Returns a String
-
setSystemMsg
- Specified by:
setSystemMsgin interfaceSccpMessage- Parameters:
systemMsg- Takes in a parameter of systemMsg
-
getFieldType
- Overrides:
getFieldTypein classHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classHeaderImpl
-